/**
 * Author : Jorge Mejuto Create : 20/05/2010
 */

package net.eyra.negocio.explotacion.informes.RD;

public class RDFactory {

    public static RD CargarRD(String real_decreto) {
        try {
            return (RD) Class.forName("net.eyra.negocio.explotacion.informes.RD.RD" + real_decreto.trim().toUpperCase()).newInstance();
        } catch (InstantiationException e) {
        } catch (IllegalAccessException e) {
        } catch (ClassNotFoundException e) {
        }
        return null;
    }
}
